package com.platform.omp.OperationalModule.customerInjure.service;

import com.platform.omp.OperationalModule.customerInjure.entity.DCustomerinjure;
import com.platform.omp.OperationalModule.customerInjure.entity.DCustomerinjureQuery;
import com.platform.omp.OperationalModule.customerInjure.entity.HrOrgDept;
import com.platform.omp.common.utils.Result;

import java.util.List;

/**
 * 接口描述：
 *
 * @ClassName CustomerInjureService
 * @Author liucl
 * @Date 2022/3/15
 */
public interface CustomerInjureService {
    /**
     * 新增客伤管理
     *
     * @param dCustomerinjure
     * @return
     */
    int insertInjure(DCustomerinjure dCustomerinjure);

    /**
     * 修改客伤管理
     *
     * @param dCustomerinjure
     * @return
     */
    int updateInjure(DCustomerinjure dCustomerinjure);

    /**
     * 删除客伤管理
     *
     * @param ids 主键id
     * @return
     */
    void deleteInsertInjure(String ids);

    List<HrOrgDept> selectHrOrgDeptList();

    /**
     * 分页条件查询客伤列表
     *
     * @param offset
     * @param limit
     * @param injure
     * @return
     */
    Result queryInjurePage(Integer offset, Integer limit, DCustomerinjureQuery injure);

    /**
     * 根据id查询客伤信息
     * @param id
     * @return
     */
    Result queryCustomerInjureId(long id);
}
